
package phasebookws;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for friend complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="friend">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="relationshipActive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="userprofile1" type="{http://ejb.api/}userprofile" minOccurs="0"/>
 *         &lt;element name="userprofile2" type="{http://ejb.api/}userprofile" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "friend", propOrder = {
    "id",
    "relationshipActive",
    "userprofile1",
    "userprofile2"
})
public class Friend {

    protected int id;
    protected Boolean relationshipActive;
    protected Userprofile userprofile1;
    protected Userprofile userprofile2;

    /**
     * Gets the value of the id property.
     * 
     */
    public int getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     */
    public void setId(int value) {
        this.id = value;
    }

    /**
     * Gets the value of the relationshipActive property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isRelationshipActive() {
        return relationshipActive;
    }

    /**
     * Sets the value of the relationshipActive property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setRelationshipActive(Boolean value) {
        this.relationshipActive = value;
    }

    /**
     * Gets the value of the userprofile1 property.
     * 
     * @return
     *     possible object is
     *     {@link Userprofile }
     *     
     */
    public Userprofile getUserprofile1() {
        return userprofile1;
    }

    /**
     * Sets the value of the userprofile1 property.
     * 
     * @param value
     *     allowed object is
     *     {@link Userprofile }
     *     
     */
    public void setUserprofile1(Userprofile value) {
        this.userprofile1 = value;
    }

    /**
     * Gets the value of the userprofile2 property.
     * 
     * @return
     *     possible object is
     *     {@link Userprofile }
     *     
     */
    public Userprofile getUserprofile2() {
        return userprofile2;
    }

    /**
     * Sets the value of the userprofile2 property.
     * 
     * @param value
     *     allowed object is
     *     {@link Userprofile }
     *     
     */
    public void setUserprofile2(Userprofile value) {
        this.userprofile2 = value;
    }

}
